package tp.gnuplot;

public class Suma implements Funcion {
	private Funcion f;
	private Funcion g;
	public Suma(Funcion f, Funcion g){
		this.f = f; this.g = g;
	
	}
	
	public double f(double x){
		return f.f(x)+ g.f(x);
	}
}
